package top.lisicheng;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
// import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @author Lisicheng
 * @date 2020-12-27
 */
@SpringBootApplication
@MapperScan("top.lisicheng.dao")
// eureka服务中心
@EnableEurekaClient
// zookeeper，consul服务器中心
@EnableDiscoveryClient
public class Payment8001Application {
    public static void main(String[] args) {
        SpringApplication.run(Payment8001Application.class, args);
    }
}
